package com.topfinance.payment.service;

import java.util.List;

import com.topfinance.cnaps2.service.IBaseManager;
import com.topfinance.frame.exception.AppException;
import com.topfinance.payment.dto.TCfgRouteRuleDto;
import com.topfinance.payment.ebo.TCfgRouteRuleEbo;

public interface ITCfgRouteRuleMgr extends IBaseManager {
	//获得路由规则	
	public TCfgRouteRuleEbo getRoute(String oid) throws AppException;

	//增加路由规则
	public TCfgRouteRuleEbo addRoute(TCfgRouteRuleDto o) throws AppException;

	//删除路由规则
	public void deleteRoute(TCfgRouteRuleDto o) throws AppException;
	public void deleteRoute(Integer id) throws AppException;

	//编辑路由规则
	public void editRoute(TCfgRouteRuleDto o) throws AppException;

	//获得路由规则列表
	public List<TCfgRouteRuleEbo> getAllRouteRule() throws AppException;
}
